package cn.snowsoft.iot.module.warning.dal.dataobject.warning.rule;

import cn.snowsoft.iot.framework.mybatis.core.dataobject.BaseDO;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("warning_rule")
public class WarningRuleDO extends BaseDO {

    @TableId("id")
    private Long id;

    private String ruleName;

    private String ruleType;

    private String processingType;

    private String ruleCondition;

    private String ruleExpression;

    private String ruleSql;

    private Integer conditionType;

    private String ruleThreshold;

    private Integer computeType;

    private Integer timeType;

    private String timeValue;
}
